@charset "UTF-8";
.rotating {
	animation: rotating 0.8s linear infinite;
}
@keyframes rotating {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(1turn);
	}
}

// 过度动画

// opacity
.opacity-enter-active,
.opacity-leave-active {
	transition: all 0.3s $naive-trans;
}
.opacity-enter-from,
.opacity-leave-to {
	opacity: 0;
}

// fade
.fade-enter-active,
.fade-leave-active {
	transition: all 0.3s $naive-trans;
}
.fade-enter-from,
.fade-leave-to {
	transform: translateX(10px);
	opacity: 0;
}
// slide
.slide-enter-active,
.slide-leave-active {
	transition: all 0.5s ease-out;
	position: absolute;
}
.slide-enter-from {
	transform: translateX(100%);
}
.slide-leave-to {
	transform: translateX(-100%);
}
// scale
.scale-enter-active,
.scale-leave-active {
	transition: all 0.5s ease;
}
.scale-enter-from,
.scale-leave-to {
	opacity: 0;
	transform: scale(0.9);
}
// scale-slide
.scale-slide-enter-active,
.scale-slide-leave-active {
	transition: all 0.35s ease;
}
.scale-slide-enter-from {
	transform: translateX(100%);
}
.scale-slide-leave-to {
	opacity: 0;
	transform: scale(0.8);
}

// search

@keyframes search-body-show {
	0% {
		transform: scale(0.4);
	}
	100% {
		transform: scale(1);
	}
}
@keyframes search-body-hide {
	0% {
		transform: scale(1);
	}
	100% {
		transform: scale(0.4);
	}
}

// 左右切换

.slider-left-enter {
	transform: translateX(-100%);
}
.slider-left-leave-to {
	transform: translateX(100%);
}

.slider-right-enter {
	transform: translateX(100%);
}
.slider-right-leave-to {
	transform: translateX(-100%);
}
.slider-right-enter-active,
.slider-right-leave-active,
.slider-left-enter-active,
.slider-left-leave-active {
	transition: all 0.5s cubic-bezier(0.55, 0, 0.1, 1);
	position: absolute;
}
